<?php
/**
 * Created by PhpStorm.
 * User: BlueIdeaLirui
 * Date: 2019/11/8
 * Time: 18:29
 */

namespace console\controllers\integrate;

use iQueue\controllers\ShellConsumeController;

class ReceiveController extends ShellConsumeController
{
    protected $queueAction = 'integrate/supplier/process';

    /**
     * 定义执行脚本时yii的路径
     * @return string
     */
    protected function getYii()
    {
        return dirname(dirname(dirname(__DIR__))) . '/yii';
    }
}
